package com.example.teesystem.entity.vo.feature;

import com.example.teesystem.entity.FeatureTraining;
import com.example.teesystem.entity.Issue;
import com.example.teesystem.entityDto.IssueMessage;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author pxr
 * @data 16/1/2023 下午3:52
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FeatureResponse {
    private FeatureTraining featureTraining;
    private IssueMessage issueMessage;

    public FeatureResponse(FeatureTraining featureTraining, Issue issue){
        this.featureTraining = featureTraining;
        this.issueMessage = new IssueMessage(issue);
    }
}
